export const formList = [
  {
    label: '库位编号',
    prop: 'locateNo',
    placeholder: '请输入库位编号',
    type: 'input',
    formType: 'input',
  },
  {
    label: '设备编号',
    prop: 'dvcNo',
    placeholder: '请输入设备编号',
    type: 'input',
    formType: 'input'
  },
  {
    label: '托盘条码',
    prop: 'contNo',
    placeholder: '请输入托盘条码',
    type: 'input',
    formType: 'input'
  },
  {
    label: '所属排',
    prop: 'rowNum',
    placeholder: '请输入所属排',
    type: 'input',
    formType: 'input'
  },
  {
    label: '所属列',
    prop: 'colNum',
    placeholder: '请输入所属列',
    type: 'input',
    formType: 'input'
  },
  {
    label: '所属层',
    prop: 'levelNum',
    placeholder: '请输入所属层',
    type: 'input',
    formType: 'input'
  },
  {
    label: '使用状态',
    prop: 'locateSt',
    placeholder: '请选择货位状态',
    type: 'input',
    formType: 'select',
    options:[
      {dictLabel:'空闲',dictValue:'0'},
      {dictLabel:'预分配',dictValue:'1'},
      {dictLabel:'已使用',dictValue:'2'}
    ]
  },
  {
    type: 'btn',
    md: 6,
    sm: 6
  }
]
export const tableColumn = [
  {
    prop: 'locateId',
    label: 'id',
    //   sortable: true
  },
  {
    prop: 'dvcNo',
    label: '设备编号',
  },
  {
    prop: 'locateNo',
    label: '库位编号',
    sortable:true,
    minWidth:130
  },
  {
    prop: 'rowNum',
    label: '所属排',
  },
  {
    prop: 'colNum',
    label: '所属列',
  },
  {
    prop: 'levelNum',
    label: '所属层',
  },
  {
    prop: 'locateType',
    label: '库位类型',
  },
  {
    prop: 'locateSt',
    label: '使用状态',
    type: 'locateStatus'
  },
  {
    prop: 'active',
    label: '库位状态',
    type: 'changeStation',
    color: row => row.active === 1 ? '#67C23A' : '#F56C6C' // 状态颜色区分
  },
  {
    prop: 'contNo',
    label: '存放托盘',
    sortable:true,
    minWidth:130
  },
  {
    prop: 'creatorName',
    label: '创建用户',
  },
  {
    prop: 'createDate',
    label: '创建日期',
    sortable: true,//排序
    minWidth: '155'
  },
  {
    prop: 'updaterName',
    label: '更新用户',
  },
  {
    prop: 'updateDate',
    label: '更新日期',
    sortable: true,
    minWidth: '155',
  },
  {
    prop: 'comments',
    label: '备注'
  }
]